package com.example.databindingtest.api

import com.example.databindingtest.domain.OnSellResult
import com.example.databindingtest.domain.ResultData
import retrofit2.http.GET
import retrofit2.http.Path

/*
 * class title: 
 * Author by RenChunLin, Email 18957806320@163.com, Date on 2021/4/29.
 * PS: Not easy to write code, please indicate.
 */
interface ApiService {
    @GET("onSell/{page}")
    suspend fun getOnSellList(@Path("page") page: Int): ResultData<OnSellResult>
}